Method Summary |
|
__init__ (self,
logtarget,
commport)
Call all the contructors and sets initial modes |
|
extractphonebookentry(self,
entry,
fundamentals)
|
|
get_battery_level(self)
|
|
get_esn(self)
|
|
get_manufacturer(self)
|
|
get_model(self)
|
|
getbasicinfo(self,
phoneinfo)
|
|
getcalendar(self,
result)
|
|
getphonebook (self,
result)
Read the phonebook data. |
|
getphoneinfo(self,
phoneinfo)
|
|
makeentry(self,
entry,
data)
|
|
pblinerepair (self,
line)
Repair a line from a phone with broken firmware |
|
process_calendar (self,
dict)
Optimize and expand calendar data suitable for phone download |
|
read_groups(self)
|
|
savecalendar(self,
dict,
merge)
|
|
savegroups (self,
data)
Write the groups, sending only those groups that have had a name
change. |
|
savememo(self,
dict,
merge)
|
|
savephonebook (self,
data)
Saves out the phonebook |
|
savetodo(self,
dict,
merge)
|
|
sendpbcommand (self,
request,
responseclass,
ignoreerror,
fixup)
Similar to the sendpbcommand in com_sanyo and com_lg, except that a
list of responses is returned, one per line of information returned from
the phone |
|
_extractphonebook_numbers (self,
entry,
fundamentals,
res)
Extract and build phone numbers |
|
_extractphonebook_ringtone (self,
entry,
fundamentals,
res)
Extract ringtone info |
|
_extractphonebook_wallpaper (self,
entry,
fundamentals,
res)
Extract wallpaper info |
|
_set_unused_calendar_fields(self,
entry)
|
|
_setmodebrewtomodem(self)
|
|
_setmodemodem(self)
|
|
_setmodemodemtobrew(self)
|
|
_setmodemodemtophonebook(self)
|
|
_setmodephonebook(self)
|
|
_setmodephonebooktobrew(self)
|
|
_setmodephonebooktomodem(self)
|
Inherited from Phone |
|
alert (self,
message,
wait)
Raises an alert in the main thread |
|
close (self)
|
|
getmemo(self,
result)
|
|
gettodo(self,
result)
|
|
log (self,
str)
Log a message |
|
logdata (self,
str,
data,
klass)
Log some data with option data object/class for the analyser |
|
progress (self,
pos,
max,
desc)
Update the progress meter |
|
raisecommsdnaexception (self,
str)
Raise a comms DeviceNeedsAttention Exception |
|
raisecommsexception (self,
str,
klass)
|
|
readobject (self,
filename,
object_class,
logtitle,
uselocalfs)
Read the specified filename and bind it to the object class |
|
setmode (self,
desiredmode)
Ensure the phone is in the right mode |
|
writeobject (self,
filename,
obj,
logtitle,
uselocalfs)
Writhe the object into the file |
Inherited from object |
|
__delattr__ (...)
x.__delattr__('name') <==> del x.name |
|
__getattribute__ (...)
x.__getattribute__('name') <==> x.name |
|
__hash__ (x)
x.__hash__() <==> hash(x) |
|
__new__ (T,
S,
...)
T.__new__(S, ...) -> a new object with type S, a subtype of T |
|
__reduce__ (...)
helper for pickle |
|
__reduce_ex__ (...)
helper for pickle |
|
__repr__ (x)
x.__repr__() <==> repr(x) |
|
__setattr__ (...)
x.__setattr__('name', value) <==> x.name = value |
|
__str__ (x)
x.__str__() <==> str(x) |
Inherited from RealBrewProtocol |
|
basename (self,
path)
|
|
dirname (self,
filename)
|
|
exists (self,
path)
|
|
explore0c (self)
|
|
get_brew_esn (self)
|
|
getfilecontents (self,
file,
use_cache)
|
|
getfilesystem (self,
dir,
recurse)
|
|
getfirmwareinformation (self)
|
|
hassubdirs (self,
dir)
|
|
isdir (self,
path)
|
|
isfile (self,
filename)
|
|
join (self,
*args)
|
|
listfiles (self,
dir)
|
|
listsubdirs (self,
dir,
recurse)
|
|
mkdir (self,
name)
|
|
mkdirs (self,
directory)
|
|
modemmoderequest (self)
|
|
offlinerequest (self,
reset,
delay)
|
|
rmdir (self,
name)
|
|
rmdirs (self,
path)
|
|
rmfile (self,
name)
|
|
sendbrewcommand (self,
request,
responseclass,
callsetmode)
|
|
setfileattr (self,
filename,
date)
|
|
statfile (self,
name)
|
|
writefile (self,
name,
contents)
|
|
_setmodebrew (self)
|